package com.cx.meta.model.vo;

import java.io.Serializable;
import java.util.List;

/**
 * @author flysand
 * @package com.cx.meta.model.vo
 * @date 2021-11-14 19:02
 * @des PageData:
 */
public class PageData<E> implements Serializable {
    private int total;
    private List<E> rows;

    public PageData(){}

    public PageData(int total, List<E> rows){
        this.total = total;
        this.rows = rows;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<E> getRows() {
        return rows;
    }

    public void setRows(List<E> rows) {
        this.rows = rows;
    }
}
